import router from './router'
// const whiteList = ['/login', '/auth-redirect'] // no redirect whitelist
router.beforeEach(async(to, from, next) => {
  // console.log("进入路由了",to,from);
  // set page title
  if(to.meta&&to.meta.title){
    document.title = to.meta.title
  }
  //jump page
  next()
})

router.afterEach(() => {

})
